#if !defined(AFX_GXACCOUNTEVENTSINK_H__BA8115F7_C33D_465A_862C_4BEB341E4D83__INCLUDED_)
#define AFX_GXACCOUNTEVENTSINK_H__BA8115F7_C33D_465A_862C_4BEB341E4D83__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GxAccountEventSink.h : header file
//


#include "wp2_5.h"
/////////////////////////////////////////////////////////////////////////////
// GxAccountEventSink command target
class CAccountManager;

class GxAccountEventSink : public CCmdTarget
{
	DECLARE_DYNCREATE(GxAccountEventSink)

	GxAccountEventSink();           // protected constructor used by dynamic creation

// Attributes
public:
	DWORD m_Cookie;
	IGxAccounts m_lpAccounts;
	CAccountManager* m_pAccountMgr;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(GxAccountEventSink)
	public:
	virtual void OnFinalRelease();
	//}}AFX_VIRTUAL
	virtual ~GxAccountEventSink();

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(GxAccountEventSink)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
	// Generated OLE dispatch map functions
	//{{AFX_DISPATCH(GxAccountEventSink)
	afx_msg void OnAccountUpdated(LPDISPATCH a_GxAccount);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GXACCOUNTEVENTSINK_H__BA8115F7_C33D_465A_862C_4BEB341E4D83__INCLUDED_)
